home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / pprintfeature.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-15  |  1.0 KB  |  34 lines

  1. /*
  2.  *--- PPrintFeature.cpp ---------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PPrintFeature.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PPrintFeature.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. PPrintFeature::PPrintFeature(const char * sFeatureTitle, const char * sOption)
  16. {
  17.     PRequestBuf request(strlen(sFeatureTitle) + strlen(sOption) + 4);
  18.  
  19.     request << sFeatureTitle << sOption;
  20.             
  21.     PCommand command(pm_printfeature, request);
  22. }
  23.  
  24. PPrintFeature::PPrintFeature(const char * sFeatureTitle)
  25. {
  26.     //The Option is left blank, so that the default will be selected.
  27.     PRequestBuf request(strlen(sFeatureTitle) + 4);
  28.  
  29.     request << sFeatureTitle << "";
  30.  
  31.     PCommand command(pm_printfeature, request);
  32. }
  33. // end of PPrintFeature.cpp
  34.